/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.jonasLab.financistoweb.persistence;


import br.jonasLab.financistoweb.model.Entity;

/**
 *
 * @author jonas
 */
public interface IGenericDAO<E extends Entity> {
    
    public long save(E entity);
    public void update(E entity);
    public void delete(E entity);
    public Entity findById(Integer id);
    
}
